One Hat Cyber Team
Your IP :
10.30.1.1
Server IP :
103.148.201.5
Server :
Linux web-olt 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64
Server Software :
Apache/2.4.52 (Ubuntu)
PHP Version :
8.1.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
python3
/
dist-packages
/
twisted
/
python
/
test
/
View File Name :
test_textattributes.py
# Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. """ Tests for L{twisted.python.textattributes}. """ from twisted.python._textattributes import DefaultFormattingState from twisted.trial import unittest class DefaultFormattingStateTests(unittest.TestCase): """ Tests for L{twisted.python._textattributes.DefaultFormattingState}. """ def test_equality(self): """ L{DefaultFormattingState}s are always equal to other L{DefaultFormattingState}s. """ self.assertEqual(DefaultFormattingState(), DefaultFormattingState()) self.assertNotEqual(DefaultFormattingState(), "hello")