mirror of
				https://github.com/python/cpython.git
				synced 2025-10-30 21:21:22 +00:00 
			
		
		
		
	Tab test_repr_daemon over so it's included in ThreadTests.
Noticed by Amaury.
This commit is contained in:
		
							parent
							
								
									4b16e130cc
								
							
						
					
					
						commit
						81a4a6abb7
					
				
					 1 changed files with 5 additions and 5 deletions
				
			
		|  | @ -414,11 +414,11 @@ def test_old_threading_api(self): | ||||||
|         e.isSet() |         e.isSet() | ||||||
|         threading.activeCount() |         threading.activeCount() | ||||||
| 
 | 
 | ||||||
| def test_repr_daemon(self): |     def test_repr_daemon(self): | ||||||
|     t = threading.Thread() |         t = threading.Thread() | ||||||
|     self.assertFalse('daemon' in repr(t)) |         self.assertFalse('daemon' in repr(t)) | ||||||
|     t.daemon = True |         t.daemon = True | ||||||
|     self.assertTrue('daemon' in repr(t)) |         self.assertTrue('daemon' in repr(t)) | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| class ThreadJoinOnShutdown(BaseTestCase): | class ThreadJoinOnShutdown(BaseTestCase): | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Brian Curtin
						Brian Curtin