@Ghazascanner
_2019runbot
Ghazascanner File Manager
server :Linux phpmyadmin-ubuntu-m-2vcpu-16gb-blr1-01 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Current Path :
/
lib
/
python3
/
dist-packages
/
twisted
/
python
/
test
/
Path :
Upload File :
New :
File
Dir
//lib/python3/dist-packages/twisted/python/test/test_textattributes.py
# Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. """ Tests for L{twisted.python.textattributes}. """ from twisted.trial import unittest from twisted.python._textattributes import DefaultFormattingState 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')