The following issues were found

tests/basics/set_containment.py
1 issues
Missing module docstring
Error

Line: 1 Column: 1

              for i in 1, 2:
    for o in {}, {1}, {2}:
        print("{} in {}: {}".format(i, o, i in o))
        print("{} not in {}: {}".format(i, o, i not in o))

            

Reported by Pylint.

tests/basics/set_clear.py
1 issues
Missing module docstring
Error

Line: 1 Column: 1

              s = {1, 2, 3, 4}
print(s.clear())
print(list(s))

            

Reported by Pylint.

tests/basics/set_binop.py
1 issues
Missing module docstring
Error

Line: 1 Column: 1

              # test set binary operations

sets = [set(), {1}, {1, 2}, {1, 2, 3}, {2, 3}, {2, 3, 5}, {5}, {7}]
for s in sets:
    for t in sets:
        print(sorted(s), '|', sorted(t), '=', sorted(s | t))
        print(sorted(s), '^', sorted(t), '=', sorted(s ^ t))
        print(sorted(s), '&', sorted(t), '=', sorted(s & t))
        print(sorted(s), '-', sorted(t), '=', sorted(s - t))

            

Reported by Pylint.

tests/basics/set_basic.py
1 issues
Missing module docstring
Error

Line: 1 Column: 1

              # basic sets

s = {1}
print(s)

s = {3, 4, 3, 1}
print(sorted(s))

# expression in constructor

            

Reported by Pylint.

tests/basics/set_add.py
1 issues
Missing module docstring
Error

Line: 1 Column: 1

              s = {1, 2, 3, 4}
print(s.add(5))
print(sorted(s))

s = set()
s.add(0)
s.add(False)
print(s)


            

Reported by Pylint.

tests/basics/builtin_abs_intbig.py
1 issues
Missing module docstring
Error

Line: 1 Column: 1

              # test builtin abs

# bignum
print(abs(123456789012345678901234567890))
print(abs(-123456789012345678901234567890))

# edge cases for 32 and 64 bit archs (small int overflow when negating)
print(abs(-0x3fffffff - 1))
print(abs(-0x3fffffffffffffff - 1))

            

Reported by Pylint.

tests/basics/builtin_allany.py
1 issues
Missing module docstring
Error

Line: 1 Column: 1

              # test builtin "all" and "any"

tests = (
    (),
    [],
    [False],
    [True],
    [False, True],
    [True, False],

            

Reported by Pylint.

tests/basics/python36.py
1 issues
Missing module docstring
Error

Line: 1 Column: 1

              # tests for things that only Python 3.6 supports

# underscores in numeric literals
print(100_000)
print(0b1010_0101)
print(0xff_ff)

# underscore supported by int constructor
print(int('1_2_3'))

            

Reported by Pylint.

tests/basics/bytes_add_bytearray.py
1 issues
Missing module docstring
Error

Line: 1 Column: 1

              # test bytes + bytearray

print(b"123" + bytearray(2))

print(b"" + bytearray(1)) # LHS is empty but can't be optimised

            

Reported by Pylint.

tests/basics/op_precedence.py
1 issues
Missing module docstring
Error

Line: 1 Column: 1

              # see https://docs.python.org/3/reference/expressions.html#operator-precedence

# '|' is the least binding numeric operator

# '^'
# OK:  1 | (2 ^ 3) = 1 | 1 = 1
# BAD: (1 | 2) ^ 3 = 3 ^ 3 = 0
print(1 | 2 ^ 3)


            

Reported by Pylint.