old_contents: import os
  import time
  
  import pytest
  
  from parsl.app.app import python_app
  
  
  @python_app
  def double(x):
      return x * 2
  
  
  @python_app
  def echo(x, string, stdout=None):
      print(string)
      return x * 5
  
  
  @python_app
  def import_echo(x, string, stdout=None):
      import time
      time.sleep(0)
      print(string)
      return x * 5
  
  
  @python_app
  def custom_exception():
      from globus_sdk import GlobusError
      raise GlobusError('foobar')
  
  
  def test_simple(n=2):
      start = time.time()
      x = double(n)
      print("Result : ", x.result())
      assert x.result() == n * \
          2, "Expected double to return:{0} instead got:{1}".format(
              n * 2, x.result())
      print("Duration : {0}s".format(time.time() - start))
      print("[TEST STATUS] test_parallel_for [SUCCESS]")
      return True
  
  
  def test_imports(n=2):
      start = time.time()
      x = import_echo(n, "hello world")
      print("Result : ", x.result())
      assert x.result() == n * \
          5, "Expected double to return:{0} instead got:{1}".format(
              n * 2, x.result())
      print("Duration : {0}s".format(time.time() - start))
      print("[TEST STATUS] test_parallel_for [SUCCESS]")
      return True
  
  
  def test_parallel_for(n=2):
      d = {}
      start = time.time()
      for i in range(0, n):
          d[i] = double(i)
          # time.sleep(0.01)
  
      assert len(
          d.keys()) == n, "Only {0}/{1} keys in dict".format(len(d.keys()), n)
  
      [d[i].result() for i in d]
      print("Duration : {0}s".format(time.time() - start))
      print("[TEST STATUS] test_parallel_for [SUCCESS]")
      return d
  
  
  @pytest.mark.skip('broken')
  def test_stdout():
      """This one does not work as we don't catch stdout and stderr for python apps.
      """
      string = "Hello World!"
      fu = echo(10, string, stdout='std.out')
      fu.result()
  
      assert os.path.exists('std.out'), "STDOUT was not captured to 'std.out'"
  
      with open('std.out', 'r') as f:
          assert f.read() == string, "String did not match output file"
      print("[TEST STATUS] test_stdout [SUCCESS]")
  
  
  def test_custom_exception():
      from globus_sdk import GlobusError
  
      with pytest.raises(GlobusError):
          x = custom_exception()
          x.result()
  
  
  def demonstrate_custom_exception():
      x = custom_exception()
      print(x.result())
  
new_contents: import time
  
  import pytest
  
  from parsl.app.app import python_app
  
  
  @python_app
  def double(x):
      return x * 2
  
  
  @python_app
  def echo(x, string, stdout=None):
      print(string)
      return x * 5
  
  
  @python_app
  def import_echo(x, string, stdout=None):
      import time
      time.sleep(0)
      print(string)
      return x * 5
  
  
  @python_app
  def custom_exception():
      from globus_sdk import GlobusError
      raise GlobusError('foobar')
  
  
  def test_simple(n=2):
      start = time.time()
      x = double(n)
      print("Result : ", x.result())
      assert x.result() == n * \
          2, "Expected double to return:{0} instead got:{1}".format(
              n * 2, x.result())
      print("Duration : {0}s".format(time.time() - start))
      print("[TEST STATUS] test_parallel_for [SUCCESS]")
      return True
  
  
  def test_imports(n=2):
      start = time.time()
      x = import_echo(n, "hello world")
      print("Result : ", x.result())
      assert x.result() == n * \
          5, "Expected double to return:{0} instead got:{1}".format(
              n * 2, x.result())
      print("Duration : {0}s".format(time.time() - start))
      print("[TEST STATUS] test_parallel_for [SUCCESS]")
      return True
  
  
  def test_parallel_for(n=2):
      d = {}
      start = time.time()
      for i in range(0, n):
          d[i] = double(i)
          # time.sleep(0.01)
  
      assert len(
          d.keys()) == n, "Only {0}/{1} keys in dict".format(len(d.keys()), n)
  
      [d[i].result() for i in d]
      print("Duration : {0}s".format(time.time() - start))
      print("[TEST STATUS] test_parallel_for [SUCCESS]")
      return d
  
  
  def test_custom_exception():
      from globus_sdk import GlobusError
  
      with pytest.raises(GlobusError):
          x = custom_exception()
          x.result()
  
  
  def demonstrate_custom_exception():
      x = custom_exception()
      print(x.result())
  
subject: Remove a skipped test that demonstrates not-implemented functionality (#1901)