Skip to content

Commit 2fcfca2

Browse files
committed
ensure RWLock coverage even if we don't use it
1 parent 5d8f55d commit 2fcfca2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/ecdsa/test_rw_lock.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
# https://code.activestate.com/recipes/577803-reader-writer-lock-with-priority-for-writers/
33
# released under the MIT licence
44

5-
import unittest
5+
try:
6+
import unittest2 as unittest
7+
except ImportError:
8+
import unittest
69
import threading
710
import time
811
import copy

0 commit comments

Comments
 (0)