Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions bindings/pydrake/common/test/deprecation_autocomplete_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"""

import rlcompleter
import sys
import unittest


Expand Down Expand Up @@ -69,6 +70,11 @@ def test_module_autocomplete(self):
"sub_module",
"value",
]
# Python 3.11 adds a default implementation of __getstate__(), see:
# https://docs.python.org/3/library/pickle.html#object.__getstate__
# It does not exist in python <=3.10.
if sys.version_info[0:2] >= (3, 11):
suffixes_expected.append("__getstate__(")
suffixes_expected += [
"__ge__(",
"__eq__(",
Expand Down
9 changes: 8 additions & 1 deletion tools/workspace/styleguide/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,14 @@ py_test(
name = "cpplint_unittest",
size = "small",
srcs = ["@styleguide//:cpplint_unittest"],
tags = ["no_kcov"],
# TODO(jwnimmer-tri): macOS python 3.11 began having import issues because
# the directory cpplint has an __init__.py, so `import cpplint` ends up
# finding __init__.py rather than cpplint/cpplint.py. When fixed, remove
# the manual tag.
tags = [
"manual",
"no_kcov",
],
)

add_lint_tests()