Skip to content

Commit

Permalink
fixed incompatibilities with newer version of pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
reece committed Feb 22, 2019
1 parent 42859e4 commit ee9426f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@
"wheel",
],
tests_require=[
"pytest",
"pytest-cov",
"pytest>=4.3.0",
"pytest-cov>=2.6.1",
],
)

Expand Down
4 changes: 2 additions & 2 deletions tests/test_hgvs_variantmapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ def test_map_of_dup_at_cds_end(self):
def test_map_of_c_out_of_reference_bound(self):
hgvs_c = "NM_000249.3:c.-73960_*46597del"
var_c = self.hp.parse_hgvs_variant(hgvs_c)
with self.assertRaisesRegex(HGVSError,
'The given coordinate is outside the bounds of the reference sequence.'):
with pytest.raises(HGVSError,
match='coordinate is outside the bounds'):
self.vm.c_to_p(var_c)


Expand Down

0 comments on commit ee9426f

Please sign in to comment.