fix invalid escape sequence in doi test
This commit is contained in:
parent
6b42114722
commit
0ae97c8061
3
.gitignore
vendored
3
.gitignore
vendored
@ -2,7 +2,8 @@
|
||||
*~
|
||||
.DS_Store
|
||||
.eggs
|
||||
|
||||
env.sh
|
||||
.venvs
|
||||
|
||||
*.py[cod]
|
||||
|
||||
|
@ -20,7 +20,7 @@ class TestDOIStandardization(unittest.TestCase):
|
||||
self.hard_dois = (
|
||||
'10.1175/1520-0485(2002)032<0870:CT>2.0.CO;2',
|
||||
'10.1002/(SICI)1522-2594(199911)42:5<952::AID-MRM16>3.0.CO;2-S',
|
||||
'10.1579/0044-7447(2006)35\[89:RDUICP\]2.0.CO;2',
|
||||
'10.1579/0044-7447(2006)35[89:RDUICP]2.0.CO;2',
|
||||
)
|
||||
|
||||
self.currently_not_supported = (
|
||||
@ -78,3 +78,7 @@ class TestDOIStandardization(unittest.TestCase):
|
||||
for doi in self.currently_not_supported:
|
||||
with self.assertRaises(ValueError):
|
||||
standardize_doi(doi)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
|
Loading…
x
Reference in New Issue
Block a user