Skip to content

Commit 0b6044b

Browse files
committed
Corrected exception for pygit2 enums
1 parent 5c57d52 commit 0b6044b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/pytests/unit/utils/test_gitfs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
HAS_PYGIT2_ENUMS = True
3131

32-
except AttributeError:
32+
except ModuleNotFoundError:
3333
HAS_PYGIT2_ENUMS = False
3434

3535

0 commit comments

Comments
 (0)