old_contents: import os
  
  from . import read
  
  test_dir = os.path.dirname(__file__)
  
  egfn = lambda fn: os.path.join(os.path.dirname(__file__), "test_examples", fn)
  
  
  def test_dodgy_param_sect():
      l = read(egfn("dodgy_param_sect.las"))
  
  
  def test_mnemonic_good():
      l = read(egfn("mnemonic_good.las"))
      assert [c.mnemonic for c in l.curves] == [
          "DEPT", "DT", "RHOB", "NPHI", "SFLU", "SFLA", "ILM", "ILD"]
  
  
  def test_mnemonic_duplicate():
      l = read(egfn("mnemonic_duplicate.las"))
      assert [c.mnemonic for c in l.curves] == [
          "DEPT", "DT", "RHOB", "NPHI", "SFLU[0]", "SFLU[1]", "ILM", "ILD"]
  
  
  def test_mnemonic_leading_period():
      l = read(egfn("mnemonic_leading_period.las"))
      assert [c.mnemonic for c in l.curves] == [
          "DEPT", "DT", "RHOB", "NPHI", "SFLU", "SFLA", "ILM", "ILD"]
  
  # def test_mnemonic_missing():
  #     l = read(egfn("mnemonic_missing.las"))
  #     assert [c.mnemonic for c in l.curves] == [
  #         "DEPT", "DT", "RHOB", "NPHI", "UNKNOWN", "SFLA", "ILM", "ILD"]
  
  # def test_mnemonic_missing_multiple():
  #     l = read(egfn("mnemonic_missing_multiple.las"))
  #     assert [c.mnemonic for c in l.curves] == [
  #         "DEPT", "DT", "RHOB", "NPHI", "UNKNOWN[0]", "UNKNOWN[1]", "ILM", "ILD"]
  
new_contents: import os
  
  from . import read
  
  test_dir = os.path.dirname(__file__)
  
  egfn = lambda fn: os.path.join(os.path.dirname(__file__), "test_examples", fn)
  
  
  def test_dodgy_param_sect():
      l = read(egfn("dodgy_param_sect.las"))
  
  
  def test_mnemonic_good():
      l = read(egfn("mnemonic_good.las"))
      assert [c.mnemonic for c in l.curves] == [
          "DEPT", "DT", "RHOB", "NPHI", "SFLU", "SFLA", "ILM", "ILD"]
  
  
  def test_mnemonic_duplicate():
      l = read(egfn("mnemonic_duplicate.las"))
      assert [c.mnemonic for c in l.curves] == [
          "DEPT", "DT", "RHOB", "NPHI", "SFLU[0]", "SFLU[1]", "ILM", "ILD"]
  
  
  def test_mnemonic_leading_period():
      l = read(egfn("mnemonic_leading_period.las"))
      assert [c.mnemonic for c in l.curves] == [
          "DEPT", "DT", "RHOB", "NPHI", "SFLU", "SFLA", "ILM", "ILD"]
  
  def test_mnemonic_missing():
      l = read(egfn("mnemonic_missing.las"))
      assert [c.mnemonic for c in l.curves] == [
          "DEPT", "DT", "RHOB", "NPHI", "UNKNOWN", "SFLA", "ILM", "ILD"]
  
  def test_mnemonic_missing_multiple():
      l = read(egfn("mnemonic_missing_multiple.las"))
      assert [c.mnemonic for c in l.curves] == [
          "DEPT", "DT", "RHOB", "NPHI", "UNKNOWN[0]", "UNKNOWN[1]", "ILM", "ILD"]
  
subject: Add tests for missing mnemonics #42