mirror of
https://git.centos.org/centos/centpkg.git
synced 2025-02-23 08:12:55 +00:00
Fix test
Signed-off-by: Troy Dawson <tdawson@redhat.com>
This commit is contained in:
parent
dbd662abfb
commit
46bfed3ff2
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ class TestDistGitInvalid(unittest.TestCase, CatchWarningsMixin):
|
|||
def test_invalid_branchstring_raises(self):
|
||||
self.branchstring = 'nope-not-a-branch'
|
||||
|
||||
with self.assertRaises(UserWarning):
|
||||
with self.assertWarns(UserWarning):
|
||||
self.d = DistGitDirectory(self.branchstring)
|
||||
|
||||
class TestDistgitOnlySig(unittest.TestCase):
|
||||
|
|
Loading…
Add table
Reference in a new issue