Skip to content

Commit

Permalink
Debugging test failures in Python 3.8.
Browse files Browse the repository at this point in the history
  • Loading branch information
mjordan committed Sep 14, 2024
1 parent 56b5ca6 commit 07b055c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/unit_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ def test_validate_bad_date_string_values(self):
res = workbench_utils.validate_node_created_date_string(value)
self.assertFalse(res)


'''
class TestValidEdtfDate(unittest.TestCase):
def test_validate_good_edtf_values(self):
Expand Down Expand Up @@ -519,7 +519,7 @@ def test_validate_bad_edtf_values(self):
for bad_value in bad_values:
res = workbench_utils.validate_edtf_date(bad_value)
self.assertFalse(res, bad_value)

'''

class TestSetMediaType(unittest.TestCase):

Expand Down
2 changes: 1 addition & 1 deletion workbench_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
from ruamel.yaml import YAML, YAMLError
from unidecode import unidecode
from progress_bar import InitBar
import edtf_validate.valid_edtf
# import edtf_validate.valid_edtf
import shutil
import itertools
import http.client
Expand Down

0 comments on commit 07b055c

Please sign in to comment.