Page MenuHomeSoftware Heritage
Paste P719

next swh-core debian build failure (following the fix on the missing deps python3-type-extensions)
ActivePublic

Authored by ardumont on Jul 8 2020, 12:56 PM.
self = <swh.core.api.tests.test_serializers.Serializers testMethod=test_encode_native_datetime>
def test_encode_native_datetime(self):
dt = datetime.datetime(2015, 1, 1, 12, 4, 42, 231455)
> with self.assertRaises(ValueError, matches="naive datetime"):
E TypeError: 'matches' is an invalid keyword argument for this function
swh/core/api/tests/test_serializers.py:181: TypeError