mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	
				
					committed by
					
						 Tim Graham
						Tim Graham
					
				
			
			
				
	
			
			
			
						parent
						
							23a5ec0782
						
					
				
				
					commit
					20b74b10be
				
			| @@ -3660,3 +3660,10 @@ class Ticket23605Tests(TestCase): | ||||
|         self.assertQuerysetEqual(qs1, [a1], lambda x: x) | ||||
|         qs2 = Ticket23605A.objects.exclude(complex_q) | ||||
|         self.assertQuerysetEqual(qs2, [a2], lambda x: x) | ||||
|  | ||||
|  | ||||
| class TestTicket24279(TestCase): | ||||
|     def test_ticket_24278(self): | ||||
|         School.objects.create() | ||||
|         qs = School.objects.filter(Q(pk__in=()) | Q()) | ||||
|         self.assertQuerysetEqual(qs, []) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user