Skip to content

Commit e6cec6b

Browse files
authored
Fix breaking builds by pinning pluggy (#1985)
* Fix test_kafkaError_unknonw_error * fix test name typo * include descrobject * define Py_T_BOOL * pin pluggy max at 1.6.0 * revert
1 parent 93e9e92 commit e6cec6b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

requirements/requirements-tests.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ pytest-timeout
88
requests-mock
99
respx
1010
pytest_cov
11+
pluggy<1.6.0

tests/test_KafkaError.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def test_kafkaError_custom_msg():
9595
assert not err.txn_requires_abort()
9696

9797

98-
def test_kafkaError_unknonw_error():
98+
def test_kafkaError_unknown_error():
9999
with pytest.raises(KafkaException, match="Err-12345?") as e:
100100
raise KafkaError(12345)
101101
assert not e.value.args[0].fatal()

0 commit comments

Comments
 (0)