Skip to content

Commit

Permalink
Drop Python 2-specific code
Browse files Browse the repository at this point in the history
  • Loading branch information
benmwebb committed Mar 1, 2024
1 parent 6e0de67 commit 8ba3792
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions test/backend/test_pre.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import saliweb.test
import saliweb.backend
import py_compile
import sys
import os
import re

Expand All @@ -29,8 +28,6 @@ def test_make_python_script_pdb(self):
with open('test.py', 'w') as fh:
fh.write(s)
py_compile.compile('test.py', doraise=True)
if sys.version_info[0] == 2:
os.unlink('test.pyc')
os.unlink('test.py')

def test_make_python_script_mmcif(self):
Expand All @@ -51,8 +48,6 @@ def test_make_python_script_mmcif(self):
with open('test.py', 'w') as fh:
fh.write(s)
py_compile.compile('test.py', doraise=True)
if sys.version_info[0] == 2:
os.unlink('test.pyc')
os.unlink('test.py')

def test_make_sge_script_pdb(self):
Expand Down

0 comments on commit 8ba3792

Please sign in to comment.